foreground program - meaning and definition. What is foreground program
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is foreground program - definition

SCHEDULING ALGORITHM THAT IS USED TO CONTROL EXECUTION OF MULTIPLE PROCESSES ON A SINGLE PROCESSOR
Foreground Background

foreground         
WIKIMEDIA DISAMBIGUATION PAGE
Foreground; Background and foreground; Foreground and background (disambiguation)
(foregrounds)
1.
The foreground of a picture or scene you are looking at is the part or area of it that appears nearest to you.
He is the bowler-hatted figure in the foreground of Orpen's famous painting.
? background
N-VAR: oft in the N
2.
If something or someone is in the foreground, or comes to the foreground, they receive a lot of attention.
This is another worry that has come to the foreground in recent years.
N-SING: usu the N, oft in/to N
foreground         
WIKIMEDIA DISAMBIGUATION PAGE
Foreground; Background and foreground; Foreground and background (disambiguation)
Foreground         
WIKIMEDIA DISAMBIGUATION PAGE
Foreground; Background and foreground; Foreground and background (disambiguation)
·noun On a painting, and sometimes in a bas-relief, mosaic picture, or the like, that part of the scene represented, which is nearest to the spectator, and therefore occupies the lowest part of the work of art itself. ·cf. Distance, ·noun, 6.

Wikipedia

Foreground-background

Foreground-background is a scheduling algorithm that is used to control an execution of multiple processes on a single processor. It is based on two waiting lists, the first one is called foreground because this is the one in which all processes initially enter, and the second one is called background because all processes, after using all of their execution time in foreground, are moved to background.

When a process becomes ready it begins its execution in foreground immediately, forcing the processor to give up execution of the current process in the background and execute the newly created process for a predefined period. This period is usually 2 or more quanta. If the process is not finished after its execution in the foreground it is moved to background waiting list where it will be executed only when the foreground list is empty. After being moved to the background, the process is then run longer than before, usually 4 quanta. The time of execution is increased because the process needs more than 2 quanta to finish (this is the reason it was moved to background). This gives the process the opportunity to finish within this newly designated time. If the process does not finish after this, it is then preempted and moved to the end of the background list.

The advantage of the foreground-background algorithm is that it gives the process the opportunity to execute immediately after its creation, but scheduling in the background list is pure round-robin scheduling.